<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8" isELIgnored="false" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加时间表</title>
    <link rel="stylesheet" href="css/add_airport.css">
</head>
<body>
<div class="form-container">
    <%
        if (request.getAttribute("schedule_msg") != null)
        {
    %>
    <div class="error-message"><%= request.getAttribute("schedule_msg") %></div>
    <%
        }
    %>
    <h1>添加时间表信息</h1>
    <form action="addSchedule" method="post">
        编号：<input type="text" name="id" required><br>
        出发日期：<input type="text" name="fromDate" required><br>
        出发时间：<input type="text" name="fromTime" required><br>
        到达日期：<input type="text" name="toDate" required><br>
        到达时间：<input type="text" name="toTime" required><br>
        <input type="submit" value="提交">
    </form>
</div>
</body>
</html>